@import '../../assets/less/common.less';

.hm-page {
  box-sizing: border-box;
  min-height: 100vh;

  &.cart {
    background-color: #F9F7F7;

    .bottom-nav {
      width: 750rpx;
      height: 98rpx;
      background: #ffffff;
      position: fixed;
      bottom: 0;
      display: flex;
      justify-content: space-between;
      padding: 12rpx 30rpx;
      box-sizing: border-box;
      align-items: center;

      .info {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: rgba(0,0,0,0.60);
        font-size: 28rpx;
        .total{
          margin-left: 20rpx;
        }
      }

      .btn {
        width: 238rpx;
        height: 74rpx;
        background: linear-gradient(#FF696C, #F24833);
        border-radius: 70rpx;
        .hm-flex();
        color: #ffffff;
        font-size: 28rpx;
      }
    }

    .page-bar-wrap {}

    .desc {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      .d1 {
        color: rgba(0, 0, 0, 0.40);
        font-size: 32rpx;
      }

      .d2 {
        color: rgba(0, 0, 0, 0.40);
        font-size: 28rpx;
      }
    }

    .all {
      width: 750rpx;
      height: 88rpx;
      padding-left: 48rpx;
      box-sizing: border-box;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      color: #f8903d;
      font-size: 28rpx;

    }

    .good-list {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      .good-item {
        width: 686rpx;
        height: 322rpx;
        margin-top: 10rpx;
        background: #ffffff;
        border-radius: 8rpx;
        box-sizing: border-box;
        padding: 32rpx;

        .store-wrap {
          color: #333333;
          font-size: 32rpx;
        }


        .body {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 32rpx;
          height: 160rpx;

          .img {
            width: 160rpx;
            height: 160rpx;
            border-radius: 4rpx;
            flex-shrink: 0;
            border: 2rpx solid #DCDCDC;
          }

          .wrap {
            flex: 1;
            margin-left: 16rpx;
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-direction: column;

            .name {
              padding: 0 20rpx;
              // flex: 1;
              // height: 80rpx;
              overflow: hidden;
              color: #333333;
              font-size: 28rpx;
              .hm-ellipsis-multiple(2)
            }

            .bottom {
              padding: 0 20rpx;
              width: 100%;
              display: flex;
              justify-content: space-between;

              .price {
                color: #f92929;
                font-size: 40rpx;
                font-weight: 500;
                display: flex;
                align-items: center;

                .unit {
                  font-size: 28rpx;

                }

              }

              .number {}
            }
          }



        }
      }
    }

    .bottom-button {
      width: 386rpx;
      height: 88rpx;
      background: linear-gradient(102deg, #f9ab66, #f76c04 100%);
      border-radius: 180rpx;
      .hm-flex();
      color: #ffffff;
      font-size: 32rpx;
      font-weight: 500;
    }
  }
}